<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
@extends('layouts.master3')
@section('content')
<div class="container main"   onkeydown="DoKeyDown(event)" tabIndex="-1" style="position:relative;outline:none;">
<div style="">
你好,{{Auth::user()->name}},现在的level:{{$solve["score"]}}
</form>
<br>
<input type="button" value="重玩本关" onclick="NextLevel(0)">
<br>
  <div id="msg"></div>
<input id="level" type="hidden" value="{{$solve["score"]}}">
<input type="button" value="游戏说明" onclick="DoHelp()">
<input type="button" value="上一关" onclick="NextLevel(-1)">
<input type="button" value="下一关" onclick="NextLevel(1)">

</div>
<canvas id="myCanvas" style="position:relative;">你的浏览器还不支持哦</canvas>
 <img id="block" src="/img/block.png" style="display:none;">
 <img id="wall" src="/img/wall.png" style="display:none;">
 <img id="ball" src="/img/ball.png" style="display:none;">
 <img id="box" src="/img/box.png" style="display:none;">
 <img id="gray_u" src="/img/gray_5.png" style="display:none;">
 <img id="gray_r" src="/img/gray_6.png" style="display:none;">
 <img id="gray_l" src="/img/gray_6.png" style="display:none;">
 <img id="gray_d" src="/img/gray_5.png" style="display:none;">
 <img id="gray_ul" src="/img/gray_1.png" style="display:none;">
 <img id="gray_ur" src="/img/gray_2.png" style="display:none;">
 <img id="gray_dl" src="/img/gray_3.png" style="display:none;">
 <img id="gray_dr" src="/img/gray_4.png" style="display:none;">
 <img id="ball" src="/img/ball.png" style="display:none;">
 <img id="pleft" src="/img/left.png" style="display:none;">
 <img id="pright" src="/img/right.png" style="display:none;">
 <img id="pup" src="/img/up.png" style="display:none;">
 <img id="pdown" src="/img/down.png" style="display:none;">
</div>
@endsection
@section('js')
 <script type="text/javascript" src="/js/mapdata100.js"></script>
<script type="text/javascript">
function pos(x,y,b)
{
$.post("http://www.qlcoder.com/train/crcheck",
                {
x:x,
y:y,
path:b,
_token:"{{csrf_token()}}"
},function(data){
location.replace(location.href);
})
}
</script>
  <script type="text/javascript" src="/js/robot.js?v=1.1"></script>
<script type="text/javascript">
NextLevel(0);
</script>
@stop
